package com.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author linyukun
 * @date 2022/7/9 14:44
 */
@Data
public class BookDTO extends PageDTO{
    @ApiModelProperty(value = "书籍id", example = "1")
    private Long id;

    @ApiModelProperty(value = "书籍名称", example = "1")
    private String bookName;

    @ApiModelProperty(value = "书籍类型", example = "1")
    private Long typeId;

    @ApiModelProperty(value = "书籍存量", example = "1")
    private Integer stock;

    @ApiModelProperty(value = "书籍单价", example = "1")
    private BigDecimal price;

    @ApiModelProperty(value = "书籍出版社", example = "1")
    private String publish;

    @ApiModelProperty(value = "书籍作者", example = "1")
    private String author;

    @ApiModelProperty(value = "地址", example = "1")
    private String address;

    @ApiModelProperty(value = "创建人", example = "1")
    private String createUser;

    @ApiModelProperty(value = "图片", example = "1")
    private String picUrl;

    @ApiModelProperty(value = "描述信息，摘要", example = "1")
    private String description;

    @ApiModelProperty(value = "isbn", example = "1")
    private String isbn;

    @ApiModelProperty(value = "语种", example = "1")
    private String language;

    @ApiModelProperty(value = "版次", example = "1")
    private String revision;

    @ApiModelProperty(value = "载体形态", example = "1")
    private String carrierForm;

    @ApiModelProperty(value = "出版地", example = "1")
    private String publishPlace;

    @ApiModelProperty(value = "出版日期", example = "1")
    private String publishYear;

    @ApiModelProperty(value = "修改人", example = "1")
    private String updateUser;

    @ApiModelProperty(value = "删除人", example = "1")
    private String deleteUser;

    @ApiModelProperty(value = "主要负责人", example = "1")
    private List<BookResponsibilityDTO> mainResponsibilitys;

    @ApiModelProperty(value = "次要负责人", example = "1")
    private List<BookResponsibilityDTO> noMainResponsibilitys;

    @ApiModelProperty(value = "条码号", example = "1")
    private String ticketNumber;

    @ApiModelProperty(value = "货币类型", example = "1")
    private Integer currencyType;

    @ApiModelProperty(value = "页数", example = "1")
    private Integer pageMeta;

    private Integer nameOrId;
    private String nameAndId;

    private Integer prevMaxId;

    private Integer version;


}
